package gdut.jmxywz.been;

/**
 * TeacherRole entity. @author MyEclipse Persistence Tools
 */

public class TeacherRole implements java.io.Serializable {

	// Fields

	private Integer teacherRoleId;
	private Roles roles;
	private Teacher teacher;
	private String teacherRoleName;
	private String teacherRoleDescripe;

	// Constructors

	/** default constructor */
	public TeacherRole() {
	}

	/** full constructor */
	public TeacherRole(Roles roles, Teacher teacher, String teacherRoleName,
			String teacherRoleDescripe) {
		this.roles = roles;
		this.teacher = teacher;
		this.teacherRoleName = teacherRoleName;
		this.teacherRoleDescripe = teacherRoleDescripe;
	}

	// Property accessors

	public Integer getTeacherRoleId() {
		return this.teacherRoleId;
	}

	public void setTeacherRoleId(Integer teacherRoleId) {
		this.teacherRoleId = teacherRoleId;
	}

	public Roles getRoles() {
		return this.roles;
	}

	public void setRoles(Roles roles) {
		this.roles = roles;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public String getTeacherRoleName() {
		return this.teacherRoleName;
	}

	public void setTeacherRoleName(String teacherRoleName) {
		this.teacherRoleName = teacherRoleName;
	}

	public String getTeacherRoleDescripe() {
		return this.teacherRoleDescripe;
	}

	public void setTeacherRoleDescripe(String teacherRoleDescripe) {
		this.teacherRoleDescripe = teacherRoleDescripe;
	}

}